<%@page pageEncoding="UTF-8" language="java" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>
<body>
<div>${result.message}</div>
<form method="post" action="./do-login">
    <input type="hidden"
           name="${_csrf.parameterName}"
           value="${_csrf.token}"/>
    <div>
        <label>登录名
            <input name="loginName" value="${param.loginName}"/>
        </label>
    </div>
    <div>
        <label>密码
            <input name="password" type="password"/>
        </label>
    </div>
    <div>
        <button>登录</button>
    </div>
</form>
</body>
</html>